fix checking for Note type
Merge pull request #4 from dalejung/attributes

fix checking for Note type