Course Structure in Step 2 not saving properly

When saving Course Structure settings in Step 2 when editing course it doesn't save the options properly.
If you enable couple of them and then update they will still all show as enabled after update.

If you enable couple of them but save all other steps it will enable random items.