Store false/unchecked value of attribute as well

The value was only stored when the field key was present in $_POST, i.e.
when the checkbox was checked. This caused the attribute value to be 'locked'
as true if it was ever stored as true/checked.