Fix stupid bug in compareTo at NoteModel