do not call values on an array
Merge pull request #307 from bheilman/fix_replace_attribute

cf-sketch.pl: do not call values on an array