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