Added offset to check for discontinuity when timestamp is not available