A correction dated in the future (within the current period) was being added to the balance immediately, while the corresponding expected hours were not yet counted (elapsed working days only go up to today). Fix: in the ongoing-period branch, sum only corrections whose date is <= today, matching the same window used for elapsed working days and tracked time.