Update code to set the value to the current UI selection when the value is rejected. Update test to check this.