Fixes bug when components are missing attributes
Merge pull request #8 from adaptlearning/issue/#7

Fixes bug when components are missing attributes