Fix a bug in marginal mlogregr caused by the ordering of intermediate results