Tracked time in overview/month comparison is not counting up anymore

Hi, in the overview page, there is a diagram where tracked time for tasks is compared to another timeframe (e.g. tracked time per day for this month vs. last month). In the monthly comparison, this month misses almost all tracked (and paid) hours. Weirdly, in the comparison of the quarter, it seems to be correct. The log doesn’t show anything useful. Can you please give me a hint, which function that is? I’d like to add some output and see what’s going on here.


The code is split between a few files but this is a reasonable starting place: