Avoid the inputRangeObject call in MongoConnection.listDatabases. See #822.