Equipment schedule Error - cannot read properties of undefined

Hello, I'm dealing with an issue with the Equipment schedule component.

I´m displaying a historical events in the component. There are also two date inputs to limit the dateRange in the Equipment schedule component as well as the bindig of the data. The scheduledEvents are binded with a named query.

Everything works fine. You can change the dates and you see more (or less) events. Changing the zoom levels also works fine. Until you combine these two things.

If I extend the range for 3 days for example and then change the zoom level to 12h I get an component error:
cannot read properties of undefined (reading 'offset')

If I do it the other way - first set the zoom level to 12h and then change the date range, it works fine.

Does anyone have an idea how to avoid this from happening?
Thank you