Open collector outputs with logic gates causing infinite loop scenario
You need a flip-flop and a reset button. You don't need anything fancy like a latch or master-slave flip-flop (called flip-flop in 7400 terms). Simply 2 NAND or NOR gates will do.