adding friends list null check in search services