Fix issue where referenced in section wouldn't show when opening from document. #307