Fixed latch output list creation functionality
Fixed bug in the replacement of true/false components