Fixes a bug with avatar when no id or email is sent with presence.