MIFOSX-566: ensure all types of debits and credits are taken into account when validating if transaction causes account balance to go negative.