fix totals on refund report, #40561