KiCad 7 STEP export with wrong board

[UPDATE] This is my workaround, it’s nasty and it works for now!

-Reset the templates as described by dsa-t.
-Import the new KiCad STEP
-save as a new STEP file with flat structure
-import the new STEP file
-save as assembly

This way all boards and components remain intact!