fixes #4639 - array in lookup_value incorrectly displayed in form