Fixing duplicate search logs.
Merge pull request #571 from anthonymayer/fix-duplicate-search-logs

Fixes #543 - duplicate search logs.