Fixed chooseDiscard to throw away cards properly