Fix byBankSortedByDateBetweenDates losing transactions from same day as...
Basically when looking for existing transactions between two dates we currently do not retrieve transactions past midnight from the max date and will therefore never make a diffOperations
on them, creating duplicates.
See #920 (closed).