Fix broken help crosslinks for unit types with all-hidden variations

Regression introduced in 6fe72e893fbfdf38832e457a671aebdc16266e87.
Affected master only, because I missed two relevant lines when manually
forward-porting its 1.12 counterpart.