Updated to make sure booking is completly withing allow range