Fixup DerivedStringValidator representation checking