Isset rather than empty, so states work when allowed countries are set. Closes #4223