diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index 7dda6b6..de0ad5e 100755
--- a/source4/scripting/bin/upgradeprovision
+++ b/source4/scripting/bin/upgradeprovision
@@ -862,6 +862,7 @@ def update_present(ref_samdb, samdb, basedn, listPresent, usns, invocationid):
                         refval = ()
                     handle_links(samdb, att, basedn, current[0]["dn"],
                                     curval, refval, delta)
+                    continue
 
                 if isFirst == 0 and len(delta.items())>1:
                     isFirst = 1
