Removing the span direction after floor by room boundary (span direction causing havoc in groups)

Try Installing Civil connection package for the node.
However this node only works if the floor is sloped.
You can also work with Clockwork package .
Check this post it might help.