Added missing 'fi' statement.