shell: Disable the "Previous" button appropriately.

Fixes: #425