Prevent going off the bottom of the list.