Fix bug with empty cart ID.