Fix validation of loan balances