view-model: check if a removed item was the last item
view-model: check if a removed item was the last item

If the removed item was the last item in the list, then a new item will not
take its place and therefore the added signal does not need to be emitted
if a limit is set.

media-explorer/media-explorer,media-explorer/media-explorer,media-explorer/media-explorer,media-explorer/media-explorer