diff --git a/profiles/DerGeret/Windows/Setup.ps1 b/profiles/DerGeret/Windows/Setup.ps1
index 78724bee..db43b17e 100644
--- a/profiles/DerGeret/Windows/Setup.ps1
+++ b/profiles/DerGeret/Windows/Setup.ps1
@@ -30,7 +30,7 @@ $Global:SetupConfigPostprocessor = {
     $partitionCreations.AppendChild($newPartition);
 
     $partitionModifications = $diskConfig.SelectSingleNode("./ua:ModifyPartitions", $namespace);
-    $newModification = $diskConfig.SelectNodes("./ua:ModifyPartition", $namespace)[2].CloneNode($true);
+    $newModification = $partitionModifications.SelectNodes("./ua:ModifyPartition", $namespace)[2].CloneNode($true);
     $newModification.SelectSingleNode("./ua:Order", $namespace).InnerText = "$newIndex";
     $newModification.SelectSingleNode("./ua:PartitionID", $namespace).InnerText = "$newIndex";