Fix job cleaning methods. Removing new jobs if defined