         when 'add_tag', 'delete_tag'
           "tag_#{c.tag}"
         when 'add_object', 'delete_object'
-          "object_#{c.object}_#{c.object}"
+          objectHash = getObjectHash(objects[c.object])
+          "object_#{c.name}_#{objectHash}"
         when 'firmware'
           'firmware'
         else



matchObject = (object, param) ->
  return false if not object._keys?
  for k in object._keys
    v = common.matchType(param[k]._value, object[k])
    if param[k]._value != v

        if mongoQuery.test(device, p.precondition)
          devicePresets.push(p)

      configurations = accumulateConfigurations(devicePresets, objects)
      now = Date.now()
      taskList = []
      expiry = config.PRESETS_CACHE_DURATION
