Fix broken subelement view of active nav entries

This was a regression introduced with
a63a9d1063591c4e9237c7f9905fc34922f8bd12