fix #3545: Opening saved caches lead to crash if "Last Page" is active