fix search bug
Merge pull request #118 from dentrifonov/fix_search_DB

fix search bug