Make it disable "not found" jobs rather than try to delete them - which generally fails due to foreign key constraints on the job results table