Corrected some bugs with licences edit
Merge pull request #236 from zefciu/RBM-176

Corrected some bugs with licences edit