Improved the job duration check to to skip steps that are not actually running, but just being scheduled.