Menu: Filter out non-items when typing

Fixes #10571