Inserts missing 'if'.