Fix another place where were were operating directly on the settings table