luci2/network.switch: fix bug

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>