Sequence counter reset to 0 when patched with no sequence field.

Fixes #2138.