Fix #7 duplicate devices appearing on friends list