Set valid state flag after setting card.

@paultiarks