search validation fixes
Merge pull request #174 from is-valid/728-counter_cashe

search validation fixes