Really fix ReportTotalsCalculator optimization.