Fix overflow when comparing HLS Segments for long videos.