Pass per_page parameter to all instances of pagination.