Fix observation checking for multinomial hmm.