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

Addresses #153