Fix bug with string editor not always returning a string value when dynamic enums are used.