Fix for cron tasks queue.