Fixed lookahead propagation in grammars with cycles.