Swapped return values of read_bit