Fixes mixup between jid and resourceJid.