Fix OpType attribute ordering