patched RutValidator for nil values and non-string values