protected function duplicateCriteria(array &$data)
    {
        $pivotData = $data[ORMInterface::PIVOT_DATA];

        //Unique row criteria
        return $pivotData[$this->innerPivotKey] . '.' . $pivotData[$this->outerPivotKey];
    }