diff --git a/Manager/ResourceManager.php b/Manager/ResourceManager.php
index <HASH>..<HASH> 100644
--- a/Manager/ResourceManager.php
+++ b/Manager/ResourceManager.php
@@ -212,7 +212,7 @@ class ResourceManager
     public function getUniqueName(ResourceNode $node, ResourceNode $parent = null, $isCopy = false)
     {
         $candidateName = $node->getName();
-
+        $nodeType = $node->getResourceType();
         //if the parent is null, then it's a workspace root and the name is always correct
         //otherwise we fetch each workspace root with the findBy and the UnitOfWork won't be happy...
         if (!$parent) return $candidateName;
@@ -229,8 +229,9 @@ class ResourceManager
                 // same name is also incremented
                 continue;
             }
-
-            $siblingNames[] = $levelNode->getName();
+            if ($levelNode->getResourceType() === $nodeType) {
+                $siblingNames[] = $levelNode->getName();
+            }
         }
 
         if (!in_array($candidateName, $siblingNames)) {
Add resourceType condition to handle unicity on resourceName