Scheduler: Fixed compilation problem for operation A = trans(B).

Resulted from a cherry-pick of the respective commit from maint.