Fix type-incorrect clause (though function is likely dead code)
Created by: uwiger
This change is needed to build now that we have warnings-as-errors.
It's not entirely clear what would be the right action here: return an empty list or insert the broken room? But the function doesn't seem to be used anyway.