This version of c9 fixes a long standing nuisance when transactions auto allocate. It is mostly a problem with bulk transactions so mostly affects when we install a new c9 and bulk import AR and AP txn history. But this issue could also explain unexpected results in some scenarios when doing bulk linking. Normally reconcile masks problem because when we reconcile are are usually tallying unallocated txn totals of exact same amount. But if reconcile is unbalance then this misallocation could happen too.
Scenario is txns are supposed to auto allocate from oldest to newest but because of a bug when processing multiple txns simultaneously it could leave unexpected gaps in txn allocation depending on how AR and AP txns line up in terms of their relative amounts. Illustrating:
The correct outcome is we want unallocated gaps in the most recent transactions, not interleaved in historical txns.
