Fix 'Array must contain at least one element' in checkout.