Fix the check for delayed tasks in deities.