Fix bug when deleting Task in shared project : TaskReferences were not deleted