fixed Permalink issue when maxExtent was missing from permalink