Lexicons getlist fixes

There are fixes of 2 bugs:
1. Search db entries doesn`t work because search clauses were added after db query.
2. Not all entries are shown in admin panel because of entries counted before dbs and files arrays merge