Don't crash after deleting last item in the list
Don't crash after deleting last item in the list

The code used to try to select an element at index `-1`.

Handling of this special case is done after deletion of an item instead
of doing it in `highlight_selection()` assuming that this is the only
place where this condition might not be met.

dvorka/hstr,dvorka/hstr,dvorka/hstr,dvorka/hstr,dvorka/hstr