Error exporting variable font

When I export the attached font: DebugFont2.glyphs (43.3 KB)

I get the following error:

Broken internal cross-table feature reference in -[FEAFeatureSubstitution(Backend) dump:state:] (FEAFeatureSubstitution.m:185)
Found in: (null).

If I comment out the script and language lines from the second rlig feature, it exports fine. If I delete the A-Z glyphs, it exports fine as well.

This is a minimized version from a real font project.

This is blocking me on a project with a tight schedule. I appreciate if there a workaround or any other quick solution.