diff --git a/product/ERP5/Document/SimulationMovement.py b/product/ERP5/Document/SimulationMovement.py
index 6da46f75d1d8285b12218fc0e907e34e1ca891aa..e4c9910f9692c1bd6bd9c518052fece5ce4736c3 100644
--- a/product/ERP5/Document/SimulationMovement.py
+++ b/product/ERP5/Document/SimulationMovement.py
@@ -517,7 +517,7 @@ class SimulationMovement(Movement):
     cache_enabled = cache.get(TREE_DELIVERED_CACHE_ENABLED, 0)
 
     def getTreeDelivered(movement, ignore_first=0):
-      if ignore_first:
+      if not ignore_first:
         if len(movement.getDeliveryList()) > 0:
           return True
       for applied_rule in movement.objectValues():