Fix bug when default options used
Better treatment of negative packet size values