fix issue with embedded operation graph ordering