UNO: Updated the matching function in the card base class.