Decrement selection if deleting the last item

Fixes #4