deposit: workflow delete fix

* Fixes issue where deleting a single unpublished deposit object
  could result in other objects being deleted as well.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>