Fixed search errors.