Fix chained symbol lookup.