MaxProbabilityDecisionAlgorithm fix