See comment for the other pagination PR: do we need a `checkArgument` here?