Minor fixes to range managements in MongoDriverMixin