Fix in mongodb queries