Statistics Generated for Future Dates – Help and Solutions

Hi,

Has anyone noticed issues with statistics data, specifically that statistics are being created for future dates? (PrtScr1)
This morning, I briefly experienced an electrical outage at home around 6 AM, and HA couldn’t reconnect to ebusd until I restarted the computer. I also couldn’t connect via Nabu Casa.
After the restart around 4 PM, ebusd reconnected, but I noticed that statistics started being generated for future dates. When I checked the data in the statistics table, based on the timestamps, I saw that this started happening right after the restart. (PrtScr2)

Has anyone encountered similar issues, and how did you resolve them? What should be done to prevent this from happening in the future?
Additionally, is there a way to trigger a recalculation of the statistics?

Core: 2025.1.2
Supervisor: 2024.12.3
Operating System: 14.1
Frontend: 20250109.0

PrtScr1