Fix legacy settings migration being discarded after it ran.