Set default cursor batchSize to 1000 to avoid issues with node.js deep recursion
fixed cursor rewind