diff --git a/CEP/Pipeline/recipes/sip/master/vdsmaker.py b/CEP/Pipeline/recipes/sip/master/vdsmaker.py
index 6d000ba0f915871174867358b0f6a4799a8f521e..077cd0d1436b24d423b36225cc64ae4d6c504bf7 100644
--- a/CEP/Pipeline/recipes/sip/master/vdsmaker.py
+++ b/CEP/Pipeline/recipes/sip/master/vdsmaker.py
@@ -103,9 +103,10 @@ class vdsmaker(BaseRecipe, RemoteCommandRecipeMixIn):
                 )
             )
         self._schedule_jobs(jobs, max_per_node=self.inputs['nproc'])
-        for idx, job in enumerate(jobs):
-            if job.results['returncode'] != 0:
-                del vdsnames[idx]
+        vdsnames = [
+            vds for vds, job in zip(vdsnames, jobs) 
+            if job.results['returncode'] == 0
+        ]
 
         # *********************************************************************
         # 3. Combine VDS files to produce GDS