Fix array conversion bug in country model.