TEZ-956. Handle zero task vertices correctly on Recovery. (hitesh)