Fix console exceptions when pressing up/down with empty history
Fix console exceptions when pressing up/down with empty history

bendisposto/prob2-ui,bendisposto/prob2-ui,bendisposto/prob2-ui,bendisposto/prob2-ui