Before 4799aa6535ed those 1s got rounded down to 0s when calculating the final correction for queue length. Now they get rounded up to 5000 or whatever and put the reduction in total no of messages into the future. Let's pretend it all happens at time 0 instead.