Fix search fail issue.