Fixed the mis-inferred latch