[Ide] Added some string checking code in the log searching.