Fix validation, when value is Symbol