mongodb/docs — pull request #1491 by leopic (2013-12-20 17:20:16+00:00)
Title: The current example for skip fails when the pageNumber is 0

When pageNumber is 0, the current example -1 times pageSize which can result in negative value and yield the following error: !ERROR stack MongoError: bad skip value in query