Switch sequence comparisons to handle 32-bit sequence number wrap.