fix null pointer when the generated deck is all artifacts.
Merge pull request #498 from dustinconrad/feature/deck-generator-null-ptr

fix null pointer when the generated deck is all artifacts.