Remove duplicate ID from card state