Fix bug in search info block
Remove redundant code
Merge pull request #355 from ratajczak/master

Fix bug in search info block