Fix checking for bitstring instance