Fix wrong number of friends showing up on user profile page.