protected function removeAjaxQueryParams()
    {
        /** @var \Zend\Stdlib\Parameters */
        $query = $this->request->getQuery();
        if (count($query) > 0) {
            foreach ($this->ajaxQueryParams as $queryParam) {
                $query->set($queryParam, null);
            }
        }
    }