When a task is potentially modified is not needed to change the start and the end date. This was causing two invokations of the "dependencies" algorithm. Now only one is done.