diff --git a/src/index.cpp b/src/index.cpp index 6592b87b..e88badc0 100644 --- a/src/index.cpp +++ b/src/index.cpp @@ -1958,6 +1958,7 @@ Option Index::rearrange_filter_tree(filter_node_t* const root, if (root == nullptr) { return Option(true); } + if (root->isOperator) { uint32_t l_filter_ids_length = 0; if (root->left != nullptr) {