Changed so that houses can be built together with existing flags. Added a test for this