Fix bitfield comparison