add handling for flex targets in RooRealConstraint