Bug fix in calculating LL1 nonterminals