Fixed note deleting