Use equals instead of startsWith to ensure that the correct field is overridden when computing metadata overrides. Resolves #216