Configure correct navigation on pagination links.