Do not reset undef jobs on iteration

Change-Id: I67eb5f641a8e6baec890ce9a35eacf9b2a6ea904