Safer detection of jid mapping for + char