Added page numbers to page titles when pagination is used.