Fix task reconstruction.