Better handling for dependent tasks refresh.