diff --git a/src/core/catalog.js b/src/core/catalog.js index 71b3a2af8..5a6296557 100644 --- a/src/core/catalog.js +++ b/src/core/catalog.js @@ -1102,7 +1102,7 @@ class Catalog { if (isRef(currentNode)) { const count = pageKidsCountCache.get(currentNode); // Skip nodes where the page can't be. - if (count > 0 && currentPageIndex + count < pageIndex) { + if (count >= 0 && currentPageIndex + count <= pageIndex) { currentPageIndex += count; continue; }