Fixed the circuit not refreshing comparator input.