Resolved an issue in getFinancialJournalByCashCount which could cause discrepancies in the resulsts.
getFinancialJournalByCashCount