Fix evaluation of selected value.