[match] fix a bug with matching countries