Fix portability of time queries to Linux.

Limit timestamps to replicate zero.