Fixed cron task conditionals.