Send the sequence number as soon as possible so rejections are more likely to correctly identify the problematic notification.
Removed some unnecessary operation counter manipulation.
Start the sequence number count at 1 to avoid collisions with "unknown sequence number" rejections from the gateway.