Only check for visible and restricted pages in navigation helpers.

Do not check for public state any more.
Bump version to 2.6.1