Properly handle unset timestamps.