Fixed delete functionality on cloud