Byte: fix bug in value-type flip method