Ndl: improved search input onkeypress listener.