Fix in IO/Devices (Modbus and Melsec): multiple writings issue