Uses sequence number rather than datetime.

Uses sequence number rather than datetime to decide whether we already
have the latest version.