Fixes setSelectedCountryCode and setSelectedCountryName for indexed tableview