Fixed issue #20

It appears that MongoDB have deprecated the querySafety option and mention to instead use 'w'. I've added this fix based on a response by @csautot.