Rework the delete command to work with multi-selected items