diff --git a/XenAdmin/Wizards/PatchingWizard/AutomatedUpdatesBasePage.cs b/XenAdmin/Wizards/PatchingWizard/AutomatedUpdatesBasePage.cs index 42cb92fa4..5a88cc370 100644 --- a/XenAdmin/Wizards/PatchingWizard/AutomatedUpdatesBasePage.cs +++ b/XenAdmin/Wizards/PatchingWizard/AutomatedUpdatesBasePage.cs @@ -175,7 +175,7 @@ namespace XenAdmin.Wizards.PatchingWizard //add a revert pre-check action for this pool var curPool = pool; var problemsToRevert = PrecheckProblemsActuallyResolved.Where(a => - a.SolutionAction != null && Helpers.GetPoolOfOne(a.SolutionAction.Connection).Equals(curPool)).ToList(); + curPool.Equals(Helpers.GetPoolOfOne(a.SolutionAction?.Connection))).ToList(); if (problemsToRevert.Count > 0) finalActions.Add(new UnwindProblemsAction(problemsToRevert, pool.Connection));