Fix an inferred latch