Fix evaluation of selected value.
Do not reduce $value['selected'] to $value
Merge pull request #8 from tristanlins/hotfix/selected-value-evaluation

Fix evaluation of selected value.