Fixed log search bug.