Fix keybindings for up/down command history