fix bug that charged full amounts of all open invoices as soon as balance went positi...