fix getAvailableRooms query