Fix syntax error in MongoObjectDatabase