Added correct dependence set for effects within a transaction.