WIKI-362 Display wrong when a page is not public page on permalink popup