These two queries are expected to be the same result (dataset = https://play.clickhouse.com/play?user=play), but actually _not_:

```sql
SELECT actor_login,
                    created_at,
                    toString(event_type) AS event_type,
                    toString(action) AS action, number,
                    merged_at
             FROM github_events
             WHERE repo_name = 'apache/pulsar'
               AND event_type IN
                 ('PullRequestEvent'
                 , 'PullRequestReviewCommentEvent'
                 , 'PullRequestReviewEvent'
                 , 'IssueCommentEvent')
               AND actor_login NOT IN ('github-actions[bot]'
                 , 'codecov-commenter')
AND number = 9276
```

gives:

<img width="1726" alt="image" src="https://user-images.githubusercontent.com/18818196/203365958-a7379e4d-a14d-4544-a36d-09c1bb8783be.png">

```sql
SELECT actor_login,
                    created_at,
                    toString(event_type) AS event_type,
                    toString(action) AS action, number,
                    merged_at
             FROM github_events
             WHERE repo_name = 'apache/pulsar'
               AND multiMatchAny(event_type,
                 ['PullRequestEvent'
                 , 'PullRequestReviewCommentEvent'
                 , 'PullRequestReviewEvent'
                 , 'IssueCommentEvent'])
               AND actor_login NOT IN ('github-actions[bot]'
                 , 'codecov-commenter')
AND number = 9276
```

gives:

<img width="1713" alt="image" src="https://user-images.githubusercontent.com/18818196/203366295-d6d6d55a-03f9-4be4-bb86-ab9dfc0849c6.png">

The latter is expected.

cc @alexey-milovidov 
if constexpr (std::is_same_v<ToDataType, DataTypeUInt8>)
            {
                if (isBool(to_type))
                    ret = createBoolWrapper<ToDataType>(from_type, checkAndGetDataType<ToDataType>(to_type.get()), requested_result_is_nullable);
                else
                    ret = createWrapper(from_type, checkAndGetDataType<ToDataType>(to_type.get()), requested_result_is_nullable);
                return true;
            }
            if constexpr (
                std::is_same_v<ToDataType, DataTypeEnum8> ||
                std::is_same_v<ToDataType, DataTypeEnum16>)
            {
                ret = createEnumWrapper(from_type, checkAndGetDataType<ToDataType>(to_type.get()));
                return true;
            }
            if constexpr (
                std::is_same_v<ToDataType, DataTypeDecimal<Decimal32>> ||
                std::is_same_v<ToDataType, DataTypeDecimal<Decimal64>> ||
                std::is_same_v<ToDataType, DataTypeDecimal<Decimal128>> ||
                std::is_same_v<ToDataType, DataTypeDecimal<Decimal256>> ||
                std::is_same_v<ToDataType, DataTypeDateTime64>)
            {
                ret = createDecimalWrapper(from_type, checkAndGetDataType<ToDataType>(to_type.get()), requested_result_is_nullable);
                return true;
            }
            return false;
        };
        bool cast_ipv4_ipv6_default_on_conversion_error_value = cast_ipv4_ipv6_default_on_conversion_error;
        auto make_custom_serialization_wrapper = [&, cast_ipv4_ipv6_default_on_conversion_error_value](const auto & types) -> bool
        {