Some changes to SubDAG extraction. Mostly for the CycDAG side of things.
Also modified RandomNode such that it selects a tagged node if tag only
is on.