added dependencies for deletion on comments, memberships, and tasks