fix bug in for link semantic id (link.id) when a theta is provided (priors *have* to be taken into account)