Fix logic reversal in BIT implementation