Bug fix to ExternalProfileLink and Party metadata element models
merged hs_core_bug_fix branch