Prevent tasks from having duplicated dependencies