/**
  *
  * @since       1.1.0
  */
 protected function _searchElements(&$data, $itemID, &$_itemsID, &$_notItems)
 {
     if ($this->method == 'getElementsByItemID') {
         // We take element from cache and this id add to array
         if (($elementID = array_search($itemID, $this->_elementsItemsID)) !== false) {
             $primaryName = $this->getPrimaryName();
             $_element = $data->elements->get($elementID);
             if (in_array($_element->state, $this->states)) {
                 $this->buffer->{$_element->{$primaryName}} = $_element;
             }
             array_push($_itemsID, $itemID);
         } elseif (in_array($itemID, $_notItems)) {
             array_push($_itemsID, $itemID);
         }
     } else {
         parent::_searchElements($data, $itemID, $_itemsID, $_notItems);
     }
 }