Fixes #6237 : Duplicate keys creating for key/value field from front end...

Comparison of the value of a key is now case-insensitive.