Handling non-existing pages in parentlinks.