[FIX] account, bank statement reconciliation: fixed bugs introduced when merging the v8 into this feature branch