Fix jobs deletion