add multiple statuses in history
Added a check if document deletion fails

Signed-off-by: Antanas Norkus <antanas.norkus@cern.ch>