Fix issue where references to referenceless sidenotes were hidden on construction even if sidenotes are initiallyHidden