Make sampled properties work in property bags.