My script is the same base as yours, but adapted to my needs,
http://forum.mikrotik.com/t/monitor-mikrotik-log-by-telegram/133039/1
I have the same problem you mentioned: It repeats events of the previous day, same time but with day and month of the current day.
..