diff --git a/src/workflow.py b/src/workflow.py
index fb4d4aad1a3c8b891350f27ff39949c2fa60c9be..9fc7469c09a8107e2d6e76a3ed254f67042166f7 100644
--- a/src/workflow.py
+++ b/src/workflow.py
@@ -816,7 +816,10 @@ George Marchment, Bryan Brancotte, Marie Schmit, Frédéric Lemoine, Sarah Cohen
             self.rewrite_and_initialise(code, self.processes_2_remove, render_graphs=render_graphs)
         
 
-        if(self.duplicate):    
+        if(self.duplicate):  
+            #First check if there are any duplicate operations
+            #That method is in the "get_order_execution_executors" method -> so we just run that first
+            self.get_order_execution_executors()  
             
             
             #DETERMING WHICH SUBWORKFLOWS ARE BROKEN WITH THE CLUSTER