fix error when there are zero decks in the collection