fix indetermined state when deleting own order