fixes bug where repeated extension element could use incorrect serialized url.
fixes bug where repeated extension element could use incorrect serialized url.

PiperOrigin-RevId: 220877023

google/fhir,google/fhir,google/fhir,google/fhir,google/fhir,google/fhir