Important: Fixed SQL Logic

There was an issue with the SQL Logic that was deleting the timer entry
BEFORE it expired instead of 2 hours after.