Added explanatory comment
Fixed issue with planning not being reset when tasks change after opening a problem