Booking rooms and getting free rooms now works correctly