Bug fix in checking perms for searchbar
Merge pull request #196 from srirams6/master

Bug fix in checking perms for searchbar