Fix bug when running MCMC on single process.