Solve bug in search of friends