addresses issue #67 regarding nested fold regions.
When a region becomes invalid, it now becomes expanded.