This logic will not work for every case. In Russia there is no such thing as county or state, we have regions, in Germany there are lands. In France provinces. So the logic you are trying to implement will not work.
The reason is because all the subsequent tables like state, county, city, suburb...