Enhanced to delete a job.