fix(commands): check doc.cursor errors
fix(commands): check doc.cursor errors

Fixes NODE-1528
mongodb/node-mongodb-native,mongodb/node-mongodb-native,mongodb/node-mongodb-native,mongodb/node-mongodb-native