Fix wrong logic in test introduced in ceb67c42.

11 jobs for master in 85 minutes and 51 seconds (queued for 11 seconds)