diff --git a/indexer/feature_covering.cpp b/indexer/feature_covering.cpp index 945ad91deb..c927c26445 100644 --- a/indexer/feature_covering.cpp +++ b/indexer/feature_covering.cpp @@ -209,8 +209,13 @@ IntervalsT const & CoveringGetter::Get(int scale) break; case 1: - AppendLowerLevels(GetRectIdAsIs(m_rect), cellDepth, m_res[ind]); + { + RectId id = GetRectIdAsIs(m_rect); + while (id.Level() >= cellDepth) + id = id.Parent(); + AppendLowerLevels(id, cellDepth, m_res[ind]); break; + } case 2: m_res[ind].push_back(IntervalsT::value_type(0, static_cast((1ULL << 63) - 1)));