Bugfix: vocabulary check on ID, not word
Bugfix: lattice decoding turns off grammar filtering