Fixed minor bug in modbus new ips counter