protected function wpQuery(): WpQuery
    {
        $hashDecoratedObject = spl_object_hash($this->decoratedWpQuery);
        $globalObject = spl_object_hash(Core::get(WpQuery::class));

        if ($hashDecoratedObject === $globalObject) {
            $this->wpProvider->wpResetQuery();
        }

        return $this->decoratedWpQuery;
    }