Shared.hierarchicalize: Don't number subsections of unnumbered sections.

They were previously numbered, starting from the previous numbered
section, which was wrong.