Fixed required validation to only fail on NULL or empty strings.