/**
  * {@inheritdoc}
  */
 public function persistAsFirstChildOf(CategoryInterface $node, CategoryInterface $parent)
 {
     parent::persistAsFirstChildOf($node, $parent);
     $this->_em->flush($node);
 }