Guard against negative packet IDs