Fixes bug for adding friends