Fix iteration of wrong dequeue in JobQueue::Cancel.
Merge branch 'jobqueue_fix'