dbparser: Validate the current time when ticking

The tick timer did not validate the current time, which could result in
non-deterministic behaviour when the time changed between two ticks.

Signed-off-by: Juhasz Viktor <jviktor@balabit.hu>