/**
  * Reloads the query adapter when it has not been initialized.
  * Should none be set, it instantiates it with the correct default values.
  * @return Query
  */
 private function reloadQueryAdapter()
 {
     if (is_null($this->activeQuery)) {
         $this->activeQuery = $this->getQueryAdapter();
         $this->activeQuery->type($this->getWordpressKey());
     }
     return $this->activeQuery;
 }