Fixed another pointer bug calling bsearch.