Fix stringLength validator