Fix vote deserialization.