Add validator for events and tasks to fix inconsistent database
Add delay to task to prevent 0 second tasks