ECMS-5313: Activity Stream crashes when delete uploaded file