fix(engine): use a copy for extending filter queries

- if no copy is used the cached filter entity persists the extended
  query

related to #CAM-2630