Lots of motion sensor events missing

Lots of motion sensor events are missing. the worst case is when all events from today are gone. As we see my motion sensor has already triggered at least once today but it doesn’t show the events in the history. In Events tab I can see event videos from today.

I also don’t see a lot of events from last night either. I did yesterday. The event videos still exist in the events tab though.