Fix for switching scheduled jobs to dependent jobs.