Index: branches/5.1.x/install/upgrades.sql
===================================================================
diff -u -r13558 -r13565
--- branches/5.1.x/install/upgrades.sql	(.../upgrades.sql)	(revision 13558)
+++ branches/5.1.x/install/upgrades.sql	(.../upgrades.sql)	(revision 13565)
@@ -139,7 +139,7 @@
 UPDATE Modules SET Path = 'modules/in-commerce/' WHERE `Name` = 'In-Commerce';
 
 UPDATE ConfigurationValues
-SET ValueList = '0=lu_none||<SQL+>SELECT l%3$s_Name AS OptionName, CountryStateId AS OptionValue FROM <PREFIX>CountryStates WHERE Type = 1 ORDER BY OptionName</SQL>'
+SET ValueList = '0=lu_none||<SQL+>SELECT l%3$s_Name AS OptionName, IsoCode AS OptionValue FROM <PREFIX>CountryStates WHERE Type = 1 ORDER BY OptionName</SQL>'
 WHERE ValueList = '0=lu_none||<SQL>SELECT DestName AS OptionName, DestAbbr AS OptionValue FROM <PREFIX>StdDestinations WHERE DestParentId IS NULL Order BY OptionName</SQL>';
 
 ALTER TABLE SiteDomains
