Updated to fix add_rewrite_tag() error on taxonomy creation.