pnotes_fragment was refering to has_note and has_sent_note inconsistently also as...