Fix job deletion