Fixed dependencies around mongoDB.