If no countPerTimeline can be found, it took the old style index result as a fallback. This was giving wrong result counts for some timelines. If the old style index is not needed anymore I suggest just to drop this piece of code to prevent this error.
If no countPerTimeline can be found, it took the old style index result as a fallback. This was giving wrong result counts for some timelines. If the old style index is not needed anymore I suggest just to drop this piece of code to prevent this error.