Resolving bug on some searchs