Fixed card duplication bug