Make sure we don't enter  twice
Merge pull request #743 from geoadmin/dev_fix_search_digest

Make sure we don't enter  twice