Same fix added to DelayedJob::UpgradeGenerator