Fixed bug in searchable Menus with no entries.

Fixes #527.