Fix for the same fields not being exported when they occur in more than
one template.