Fix for crons not running under some circumstances.