Moved $this->removeInserted() from method _before to method _after
Fixed a typo
Merge pull request #764 from dirk-helbert/1.8

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