Fix for 64-bit sequence numbers