Fix bug with visibility where the link was shown when no page was specified but the 'show only in listed pages' was selected