Consider backporting fix for crash in originattributes