Add full PDF page number check