IF branches reconnection

This feature would save a lot of replication work!