fixed error with empty list of locked rooms