PIM-3197 : fix the filter by metric scenario