protected function listifyScopedQuery()
    {
        $model = new static;

        $model->setListifyConfig('scope', $this->listifyScopeCondition());

        // if set, call a method that may be used to remove global scopes
        // and other automatically active listify-scope breaking clauses
        if (method_exists($this, 'cleanListifyScopedQuery')) {
            $model = $this->cleanListifyScopedQuery($model);
        }

        return $model->whereRaw($this->listifyScopeCondition());
    }