Fix locode validation