diff --git a/lib/Core/Persistence/Doctrine/Layout/Handler.php b/lib/Core/Persistence/Doctrine/Layout/Handler.php
index <HASH>..<HASH> 100644
--- a/lib/Core/Persistence/Doctrine/Layout/Handler.php
+++ b/lib/Core/Persistence/Doctrine/Layout/Handler.php
@@ -666,7 +666,7 @@ class Handler implements LayoutHandlerInterface
 
         $nextBlockPosition = $this->getNextBlockPosition(
             $block->layoutId,
-            $block->zoneIdentifier,
+            $zoneIdentifier,
             $status
         );
Fix exception in some cases when moving the block to zone