Surfaces deleted from project tree after trying to 'Setup' a roof.

When I 'setup' roofs I'm getting an error of "Object reference not set to an instance of an object" and it causes parts of room surfaces to be removed from my project tree and not associated with any floors, yet they can still be seen in the views.

Below is a screenshot after I've 'Hide all floors' and it's still showing these un-associated surfaces which are then causing more errors as essentially it's removing random walls and floors from the project tree.

Are you able to help me re-associate these surfaces please?