Fixed THEN statement.