diff --git a/bosh-director-core/lib/bosh/director/core/templates/job_template_renderer.rb b/bosh-director-core/lib/bosh/director/core/templates/job_template_renderer.rb
index <HASH>..<HASH> 100644
--- a/bosh-director-core/lib/bosh/director/core/templates/job_template_renderer.rb
+++ b/bosh-director-core/lib/bosh/director/core/templates/job_template_renderer.rb
@@ -62,7 +62,9 @@ module Bosh::Director::Core::Templates
           # Make a deep copy of the spec and replace the properties with
           # the specific template properties.
           altered_spec = Bosh::Common::DeepCopy.copy(spec)
-          altered_spec['properties'] = current_template['template_scoped_properties']
+          altered_spec['properties'] = Bosh::Common::DeepCopy.copy(
+              current_template['template_scoped_properties']
+          )
           result = altered_spec
         end
       end
allow specifying properties on a job in the deployment manifest

Make a deep copy of a variable to avoid weird errors
[#<I>]
<URL>