fixes #737
Merge pull request #777 from magfest/job_delete_fix

fixes #737