C-r in shell-mode searches backward in history