#16862Hide subpages will make preview impossible
Description
If you select “hide page” in a pagetree and you choose “include subpages” the preview for the original page hidden will work, but the preview for the subpages will not work anymore.
(issue imported from #M4798)