fixes to modules.mongodb.db_exists
Merge pull request #4693 from hulu/mongodb-fixes

fixes to modules.mongodb.db_exists