Fix crash when GetPublicOrders fails.