Adding code to adjust page numbers when OCR thinks page is missing but it is there and number -1