Fixing XML report totals