Fixes bug in user.friends()