Bugfixes for devices in friends.