Error when user attempts to Save Note

There was an error when the user attempted to save a note after fixing
the errors in the form. The bug would occur when the user first attempts
to save a note without a title, then adding a title and attempting to
save the note again.