String with '0' shouldn't evaluate as empty in Validator::validate()