Error checking is added to setcard command to avoid resetting of known
cards.