restore friend counts when search is inactive