I'm trying to design a window detector with a latch output. The window range is 2.5 to 3.5 volts, outside this range I want the LED to light up and stay lid until reset. Am I using the latch setup correctly? I tried a simulation in Multisim but it didn't work correctly, not sure if it's a circuit error or simulation error.

