improved the WC_Countries::get_state() method