fixing filter containsAnyAttr rasies error.