Added db trigger for updating a claimed tasks status when the user who claimed it is deleted.