Fixed issue where friends list would remain blank after leaving the search box