fix for deleting jobs in folders.