fixes #4706 Key Value field creates error Ooops sorry
Merge pull request #4745 from dotCMS/issue-4706-Key-Value-field-creates-error-Ooops-sorry

fixes #4706 Key Value field creates error Ooops sorry