Fix migration so it actually saves.