fixes #2030

Moving the create_tags call ensures it gets the chance to normalize out
the prefixes before the rest of the normalization code is run.
fixes #2027
#2030: add test