Conditional select.