Minor fix to MutateGrammar