Bug fix: reduce risk of resetting sensor clock.

This bug could sometimes occur when data from the outside sensors
arrives at the same time (or just after) the station logs data.
Depending on the clock drift rates it could just happen once or twice
and then not for another month, or hang around for much longer.