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 
const auto nested_function = prepareUnpackDictionaries(from_nested_type, to_nested_type);
        return [nested_function, from_nested_type, to_nested_type](
                ColumnsWithTypeAndName & arguments, const DataTypePtr &, const ColumnNullable * nullable_source, size_t ) -> ColumnPtr
        {
            const auto & argument_column = arguments.front();
            const ColumnArray * col_array = nullptr;
            if (const ColumnMap * col_map = checkAndGetColumn<ColumnMap>(argument_column.column.get()))
                col_array = &col_map->getNestedColumn();
            else
                col_array = checkAndGetColumn<ColumnArray>(argument_column.column.get());
            if (col_array)
            {
                
                ColumnsWithTypeAndName nested_columns{{ col_array->getDataPtr(), from_nested_type, "" }};
                
                auto result_column = nested_function(nested_columns, to_nested_type, nullable_source, nested_columns.front().column->size());
                
                return ColumnArray::create(result_column, col_array->getOffsetsPtr());
            }
            else
            {
                throw Exception(ErrorCodes::LOGICAL_ERROR,
                    "Illegal column {} for function CAST AS Array",
                    argument_column.column->getName());
            }
        };
    }
    using ElementWrappers = std::vector<WrapperType>;
    ElementWrappers getElementWrappers(const DataTypes & from_element_types, const DataTypes & to_element_types) const