Fixed bug with adaptability - getting the correct grammar when
interpreting nonterminal calls.