Moved $this->removeInserted() from method _before to method _after