Fix an off-by-one error in bsearch.
Fix an off-by-one error in bsearch.

varjagg/Mezzano,AugustusHuang/Mezzano,AugustusHuang/Mezzano,froggey/Mezzano,varjagg/Mezzano,froggey/Mezzano,rvedam/Mezzano,rvedam/Mezzano