Fixes target value upgrade.