Fix payload length of id_payload created from a traffic selector