Added new note integrity check