Fixed missing outputs for AND and OR gate instances in rfsm.