Description

When a Job Condition is configured to use one of the instance rules to look at the "Most recent instance since...", it may instead look at "Any instance since...".

For example, Job B has a condition on Job A, to run only if the most recent instance of Job A since the previous instance of Job B succeeded. The jobs have run as follows:

Job B: instance 10 Succeeded
Job A: instance 21 Succeeded
Job A: instance 22 Failed

If Job B is now triggered, it should only look at instance Job A instance 22, which failed; it should therefore wait until Job B has run again and succeeded. However, it may incorrectly look at successful instance 21 of Job A, which satisfies the success condition, and execute.