Fixed remove tag bug in structure tree.