fixes #5182 Duplicate keys creating for key value field
Merge pull request #5228 from dotCMS/issue-5182-Duplicate-keys-creating-for-key-value-field

fixes #5182 Duplicate keys creating for key value field