diff --git a/src/Schema/Type/TypeReference.php b/src/Schema/Type/TypeReference.php
index <HASH>..<HASH> 100644
--- a/src/Schema/Type/TypeReference.php
+++ b/src/Schema/Type/TypeReference.php
@@ -80,8 +80,6 @@ class TypeReference
         if (empty($path)) {
             return false;
         }
-        // Remove the named type
-        array_pop($path);
 
         return in_array($nodeKind, $path);
     }
BUGFIX: hasWrapper() unnecessarily popping the path