Fixed a concurrency issue with the cards hash