Fix bug DNN-5416: add setting of whether include hidden pages in view.