Fix bug with expand/shrink note.