Fixed search errors