Fix mongodb database existance check
Merge pull request #119 from level99/master

Fix mongodb database existance check