debug
Fix exception name
Re-instate handling of negative pktids