Updated to make min/max apply just to the ping period