fixed card sort, agenda removal from deck, and adding invalid cards to deck