In some scenarios merge can produce shorter marks file for index data.
fix https://github.com/yandex/ClickHouse/pull/6126/files
Most helpful comment
fix https://github.com/yandex/ClickHouse/pull/6126/files