Fix flipped SR Latch bug