Don't do maths with pages, use the paginator