Only register a change if the new value is different