protected function pruneScope() { if ($this->node->exists) { return $this->node->descendants(); } return $this->node->newNestedSetQuery(); }