Add an `&& vals[0].Kind() == reflect.Int` otherwise the call to `Int()` will panic if this value is not an integer