Fixes error when nothing to select for menu.