FIx various bugs preventing monthly reconciliation.