Fix delete from end

Partially addresses #2. Fixes an index out of bounds exception when decorating the listview when deleting the last item.