Correct for timestamp resets