Fix a problem in tm_tags_remove_file_tags() when more tags of the same name exist