Only process links with href in pageNavigationList widget

Otherwise `substr` call fails for empty `href` when handling visited
pages.