Fixed unchecking the `public` checkbox not being saved on product edit.