fixed note.equals method. returns false on null