Fixed some problems with licence import
Merge pull request #161 from zefciu/hotfix-licence-import

Fixed some problems with licence import