**Describe what's wrong**
Request with `DISTINCT`+`LIMIT BY`+`LIMIT` return less rows than provided in `LIMIT`

**Does it reproduce on recent release?**
22.11

**How to reproduce**
The following query from hits table returns less number of rows then provided in LIMIT
```
SELECT DISTINCT
    Title,
    SearchPhrase
FROM hits_v1
WHERE (SearchPhrase != '') AND (NOT match(Title, '[а-яА-ЯёЁ]')) AND (NOT match(SearchPhrase, '[а-яА-ЯёЁ]'))
LIMIT 1 BY
    Title,
    SearchPhrase
LIMIT 10
````
**Expected behavior**
Query returns number of rows provided in `LIMIT`

if (query.limit_with_ties && apply_offset)
            {
                executeLimit(query_plan);
            }
            
            
            if (!to_aggregation_stage)
            {
                
                executeProjection(query_plan, expressions.final_projection);
            }
            
            executeExtremes(query_plan);
            bool limit_applied = apply_prelimit || (query.limit_with_ties && apply_offset);
            
            
            
            
            
            
            if (apply_limit && !limit_applied && apply_offset)
                executeLimit(query_plan);
            if (apply_offset)
                executeOffset(query_plan);
        }
    }
    executeSubqueriesInSetsAndJoins(query_plan);
}
static void executeMergeAggregatedImpl(