require selected option to have a value

prevents returning a selected option if it doesn’t have a value