filter by compactIndex as well