Fixing bug with missing attributes
Merge pull request #3 from einhverfr/master

Fixing bug with missing attributes