Fixed segmentation fault error from commit 6264b1df9a when trying to generate config cards.
6264b1df9a