Corrected bug calling old search routines