okapi r769: search bug fixes