Replace last two occurrences of old setting