Fixed a bug where some cards would not be matched due to case.