Added query to pull job details for viewing the job.