fix language extension bug in reduction-relation

closes PR 14660