(refs #50)Fix search logic in empty repository
Merge pull request #51 from tanacasino/fix/search-in-empty-repository

(refs #50)Fix search logic in empty repository