avoid could not reparent node error when removing every tag
Merge pull request #52 from magic003/master

Avoid "could not reparent node" error when removing every tag.