Fixed problem with random card generation. For reals this time.