Improved adjustBookingPeriod().