possible fix, needs more testing
Merge pull request #404 from waterbearlang/400_seq_num_bug

possible fix, needs more testing