Incorrect check on innerName. The encoded value is created with null if innerName is null (as name is not null). Likely source of #316369.