Fix creation of notes in view.