correct handling for predated transactions on EC cards

Script failed to detect which lines were already sent when a predated transaction changed into a booked one.

Some EC transactions appear first as predated in the online banking before they are actually booked. These predated transactions appear always on the top of the CSV file. The script now detects predated transactions and sends two push messages for this type of transactions.