Fixed conditional pseudocode.