trq-2543 Need to check pjob pointer after call to get_jobs_queue