Fix old profile content not being cleared correctly when saving content file selection

This fixes a regression introduced by the wizard branch where disabling content files no longer works correctly.