Fixed setValue to use anomaly where available