Fix header for non-trivial buffer sequences

or for sequences with count greater than 0
v0.17.2