Fixed delete mechanics in tasks and projects