Fix bug in delete policy due to change

Fix the delete policy that now fails due to isLegacy test

Issue-ID: CLAMP-820
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ib21ffd419953b329feeb7c2199b7d661120178e2
diff --git a/src/main/resources/clds/camel/routes/policy-flows.xml b/src/main/resources/clds/camel/routes/policy-flows.xml
index a61bc67..ef68a54 100644
--- a/src/main/resources/clds/camel/routes/policy-flows.xml
+++ b/src/main/resources/clds/camel/routes/policy-flows.xml
@@ -260,7 +260,7 @@
 				</setHeader>
 				<choice>
 					<when>
-						<simple>${body.isLegacy()} == true</simple>
+						<simple>${exchangeProperty[policy].isLegacy()} == true</simple>
 						<setProperty propertyName="policyVersion">
 							<simple>1</simple>
 						</setProperty>