Added a log-correction criterion.