fix bug occurring with even number of accounts when inserting dummy ("amount" -> "balance")