Fixed bug in handling ballot number when preempted