Fix BookingTable indexoutofbounds exception