Fixed bug in card_merge_right