Fixed trq-1690; remove_job / find_job_by_array deadlock.