Bugfix in model dependencies
Merge pull request #17 from evgenymartynov/master

Bugfix