bug in andc and orc, complement was taking place on RA not RB