Fixed the issue in note equals.

fixed issue in note equals.