When generating pdfs of generated reports, if you happen to see strange page numbers such as 65536 at the bottom, there is a possible glitch inside the rdf files. To fix the problem, you will need to:

  1. Open the report in Reports Builder
  2. Save and close the report
  3. Repeat steps 1 and 2 for all other affected reports

This should fix the glitch.