Fixed reference error in the if...else modulator.