Fixing a typo when reporting invalid attribute name