Modify packets ids to start at '0' correctly