Fix crash on social sync.