diff --git a/src/Query/Span/SpanNotQuery.php b/src/Query/Span/SpanNotQuery.php
index f54fe8ab0411076418cfff7868a8d3489909507b..1492d1a1d8c26b5813451ec618fd0b5a8357a2a3 100644
--- a/src/Query/Span/SpanNotQuery.php
+++ b/src/Query/Span/SpanNotQuery.php
@@ -62,6 +62,6 @@ class SpanNotQuery implements SpanQueryInterface
             'exclude' => $this->exclude->toArray(),
         ];
 
-        return [$this->getType() => $query];
+        return [$this->getType() => $this->processArray($query)];
     }
 }