This is bug from initial commit Ida2e836cf81d2b96e0b66afed29a900c312223a4
Check box 'unrestricted' is Bool type and if left unticked it was set to
'None' which is not Bool type.
This fixes the bug and removes 'or None' which sets the 'unrestricted' to
'False'
Change-Id: I7b3b4b82624e61edfea5d0b42d9179ec2216277f
Closes-Bug: #1821115