Conditionally select a dropdown option based on another field