Fixed issue with models being null. Fixes #133
Merge pull request #140 from brickpile/issue/133

Fixed issue with models being null. Fixes #133