Pagination links fix.