selected state added to terms in bespoke on mmd_3_40