By default, the reason is that the classes concerned were not selected when the company holidays were entered and therefore not cancelled. That's why bookings for these classes are possible.
Make sure that the classes for the affected period were effectively cancelled under «My participant lists». If not, we recommend cancelling the affected classes manually.
Here you can find the instructions: Cancel and restore classes