Fix bug where 404 page was shown in list of page links.