Bugfix in room configuration code.