**Describe what's wrong**

Get data from #29693.

```
ALTER TABLE hackernews
    ADD COLUMN words Array(LowCardinality(String))
    DEFAULT arraySort(
              arrayDistinct(
                extractAll(
                  lower(
                    decodeXMLComponent(
                      extractTextFromHTML(text))),
                  '\w+')));

ALTER TABLE hackernews MATERIALIZE COLUMN words;

ALTER TABLE hackernews ADD INDEX words_bf (words) TYPE bloom_filter(0.01) GRANULARITY 1;

ALTER TABLE hackernews MATERIALIZE INDEX words_bf;

SELECT * FROM system.merges \G;

...

SELECT count() FROM hackernews WHERE has(words, 'clickhouse');

Code: 49. DB::Exception: Received from localhost:9000. DB::Exception: Got empty stream for SerializationLowCardinality keys.: (while reading column words): (while reading from part /var/lib/clickhouse/store/f43/f4347434-b836-44ba-b434-7434b836f4ba/all_1_2874_5_2884/ from mark 46 with max_rows_to_read = 8192): While executing MergeTreeThread. (LOGICAL_ERROR)
```


**Does it reproduce on recent release?**

master.
#include <Parsers/ASTLiteral.h>
#include <Parsers/ASTExpressionList.h>
#include <Parsers/ASTSelectQuery.h>
#include <Parsers/formatAST.h>
#include <IO/WriteHelpers.h>
#include <Processors/QueryPlan/CreatingSetsStep.h>
#include <DataTypes/NestedUtils.h>
namespace DB
{
namespace ErrorCodes
{
    extern const int NOT_IMPLEMENTED;
    extern const int BAD_ARGUMENTS;
    extern const int LOGICAL_ERROR;
    extern const int UNKNOWN_MUTATION_COMMAND;
    extern const int NO_SUCH_COLUMN_IN_TABLE;
    extern const int CANNOT_UPDATE_COLUMN;
}
namespace
{
class FirstNonDeterministicFunctionMatcher
{
public:
    struct Data
    {
        ContextPtr context;
        std::optional<String> nondeterministic_function_name;
        bool subquery = false;
    };
    static bool needChildVisit(const ASTPtr & , const ASTPtr & )