Fixed a couple of issues with extendSelection()

1. When nothing is selected in a list and shift + up arrow pressed,
nothing was being selected. Now begins selecting from the bottom of the
list.
2. When nothing is selected in a list and shift + either arrow pressed,
now sets the selected index for the list.