Fix task progress reporting