Fixing delayed_job breakages due to upgrade