Currently, `pageIndices` is generated regardless of `minIndex` and `maxIndex`, which may cause non-existing pages to be rendered.
Currently,
pageIndicesis generated regardless ofminIndexandmaxIndex, which may cause non-existing pages to be rendered.