PDFKit page index safety
