Fix paginated results linking.