Fixing deprecation warning in mongo-connect 0.5
Merge pull request #209 from Kusold/fix-deprecation

Fixing deprecation warning in mongo-connect 0.5