Basically, I had a CARD class. It stored both the symbol (i.e. Q) and the value (i.e. 12 for Q). For my IsJoker() check, I was looking at the value. I should have been looking at the symbol though, since I was changing the values when testing various hands.