This might not be possible with the way the nodes work, but a Switch node of some kind would allow easier conditional selection within complex states.