check countries and states in gamd layers before instanceof (in InstanceOfExtractor)