Fixed bug that prevented duplicate field names from being created when
a template was created, even if the other field belonged to another
template.