Menu: Filter out non-items when typing

Fixes #10571
Closes gh-1329