Allow empty black or white decks and add card deduplication