fix for deleting jobs in folders.
add test for job not in folder.
Merge pull request #104 from sheehan/delete-jobs-in-folders

fix for deleting jobs in folders.