fix a bug in cursor when add numberToSkip.

Signed-off-by: Daogang Tang <daogangtang@gmail.com>