Shouldn't `geometry.attributes[property].values` be `typeof geometry.attributes[property].values !== 'undefined'`, it's an array, right?