Fix invalid snaks-order exception