Fixed wrong page numbering for converting non standard PDFs into folders