Mongo index related methods fixed.