filter to find attributes with multiple values