Limit keyboard throttle to search. Code could be prettier.