Fix debit and credit totals