I revised my code and the JQK issue went away, but there is a new problem. The player is still able to draw cards even when the number of available cards is negative.
Thank you!