**Describe the bug**
https://s3.amazonaws.com/clickhouse-test-reports/42463/4645d465b12013d99d88956020034cbfa47d9455/fuzzer_astfuzzerubsan//server.log

**How to reproduce**
```
CREATE TABLE test_wide_nested (`id` Int, `info.id` Array(Int), `info.name` Array(String), `info.age` Array(Int)) ENGINE = MergeTree ORDER BY tuple() SETTINGS min_bytes_for_wide_part = 0

INSERT INTO test_wide_nested SELECT number, [number, number + 1], ['aa', 'bb'], [number, number * 2] FROM numbers(5)

ALTER TABLE test_wide_nested UPDATE `info.id` = [100, 200, 300], `info.age` = [10, 20, 30], `info.name` = ['a', 'b', 'c'] WHERE arrayJoin([100, -2147483647, NULL]) = id
```

(note: it is not instantly reproducible, needs more investigation)
for (const auto & kv : prepared_stages[i].column_to_updated)
            prepared_stages[i].output_columns.insert(kv.first);
    }
    
    
    for (size_t i = prepared_stages.size() - 1; i > 0; --i)
    {
        auto & stage = prepared_stages[i];
        ASTPtr all_asts = std::make_shared<ASTExpressionList>();
        for (const auto & ast : stage.filters)
            all_asts->children.push_back(ast);
        for (const auto & kv : stage.column_to_updated)
            all_asts->children.push_back(kv.second);
        
        for (const String & column : stage.output_columns)
            all_asts->children.push_back(std::make_shared<ASTIdentifier>(column));
        
        
        bool execute_scalar_subqueries = !dry_run;
        auto syntax_result = TreeRewriter(context).analyze(
            all_asts, all_columns, storage, storage_snapshot,
            false, true, execute_scalar_subqueries);
        if (execute_scalar_subqueries && context->hasQueryContext())
            for (const auto & it : syntax_result->getScalars())
                context->getQueryContext()->addScalar(it.first, it.second);
        stage.analyzer = std::make_unique<ExpressionAnalyzer>(all_asts, syntax_result, context);
        ExpressionActionsChain & actions_chain = stage.expressions_chain;
        for (const auto & ast : stage.filters)