Check for mle and not ergodic trimming

For #328