Fix crashes when a removed user is a friend