Error-harden country name calculation