Fix id access on setting new default_card

Should fix issue related to #130