Fixed FK in licenses model
Cleanup for licenses view page
Make license fields nullable migration
Set values to null if they are 0