   # Expands the selection upward from the currently selected element.
   #
   expandSelectionUp: (e) ->
-    element = ($ @focusedElement).prev "li"
+    element = ($ @focusedElement).prev "li.list-view-item"
     if element.length > 0
       @selectAnother element
       @focusedElement = ($ element).focus()

    indexes[1] += 1

    # Select the elements in the requested indexes.
    elements = ($ @el).find("li").slice indexes...
    _.each elements, @selectAnother

  #

  # Selects the first element in the list.
  #
  selectFirst: ->
    element = ($ @el).find("ul.list-view-items-container > li.list-view-item").first()
    @select element

  #
  # Selects the last element in the list.
  #
  selectLast: ->
    element = ($ @el).find "ul.list-view-items-container > li.list-view-item:last-of-type"
    @select element

  #
