Fix to Checkout.duplicate_keys?