added a sanity check for renaming taxonomies