Fixed an issue with rogue page numbers.