Connection to MongoDB fixed.