IF branches reconnection

@MeganLegge It works now! Thank you!