fix bug when multiple interfaces were selected for wan at a time would result in other wan sections to be overwritten