Correction to earlier assertion patch to allow for buf_mixpos ==