fix null pointer when the generated deck is all artifacts.