Fixes off-by-one bug in card parsing.