This adds an improved "expr if" which only adds the active branch to the graph and removes the "secret" channel.