This commit fixes the bug that was causing the "target branch has "advanced" error message to display after an MR was closed.