added support for sequences to the selected variable for select-options