Maximum booking setting not working

You can book multiple sessions in one go, however, I have made it so it is a maximum of 1 booking per week, yet you can still book multiple when I test it on the calendar.