Fix checking of "job" option