Improve FriendController.Index action

Thanks to S.B.