Use asymmetric up/down behavior in history_move_prefix.
Merge pull request #8486 from blakejohnson/asymmetric-up-down

Use asymmetric up/down behavior in history_move_prefix.