Fixed issue where cards were not matching with each other