note.equals and null

note.equals now correctly returns false when the object is null. Before it returned true.