Fix off-by-1 error in assert.
Submitted by: Tycho Nightingale (tycho.nightingale@pluribusnetworks.com)