[BUGFIX] showAccessRestrictedPages doesn't replace links to restricted subpages