Issue #2336907 by eshta: Define empty ignore region classes when no regions are hidden.