Fixed bug in MaxPseudoLikelihood.