Bug 967437 - Thread messages are in a wrong order after midnight if there is a recent message from the previous day