Set selected option from query example