Add inverters to latch outputs