Is this missing a `typeof` check on `attributes[property].values`?