Fixed search backwards with special keys (arrow up, down, etc)