improved cardCompare() somewhat

At least it's no longer erroring out a whole bunch.