Fix the bug of loadLog: the same search name but different search string