Improve logic to hide realtime chat logs during pagination.

We hide realtime logs during pagination when we discover
a discontinuity between the logs in a page and the latest
realtime logs.