Fixes #711 - Show correct link for permanent tab

See #711.