Fix v=0|1 assignment.