fixed empty adapter bug in search results too