Minor fix to Markov chains