Remove threading and strip empty search strings