add one more conditin for statistics printing to avoid timestamp problem
Merge pull request #1548 from sijchen/after_review

[Encoder] add one more condition for statistics printing to avoid potential timestamp problem