Keep trashed menu links out of the menu tree.

Closes #3615837

Merge request reports

Loading