Fix bug where iTermSearchField would capture arrow key presses even when it wasn't key. Became an issue first with the command history tool. Fixes bug 2865.