A small tweak to make the total work on the payroll report for bug #8365.