FIX corrected incrementing of sequence numbers