Fixed string type conversion (it was possible to set string to false)