Remove arrows from menus if link has no accessible children nodes

Keeps the link if it does, but they aren't displayed on this page for some reason.

From #3195.