Fixed incorrect previous value provided in on-changed function.