Paginator does effectively the same thing but checks whether the `page` is within range which means an additional query is performed counting the number of objects, I think it would be better to avoid that.