Fixed a bug adding and removing taggings.