Fixed error when deleting an empty room as it was deleting only the reference but not the room object itself