Removed unused code from _selectValue() #261