moved $where search update before DB quering
moved $count after DB and file results merge
Fix lexicon getList processor

Merge remote-tracking branch 'origin/pr/791' into develop

* origin/pr/791:
  moved $count after DB and file results merge
  moved $where search update before DB quering