Fixed a bug where we were not tracking the list of tags correctly when
adding a new tag.