Fix upper & down arrows key bindings for history search