Allow key actions that select a menu item by name to select alternates as well. Fixes issue 2920.