Fix references to items in notes