Fixed a crucial error in Deck