The previous code could potentially cause a cycle. Allow ordering w.r.t. a 0 order.