Added hasEDIT test, to avoid exception on decks without EDIT section