Fixed bug with adding and removing Decks and tree breaking