Fixed bug with String validation.