Added condition for not showing searchresult if empty