Fixed bug in mixture routine that killed models.