fixed TaskRefiner to properly tasks when parent task failed to complete