Fix automatic selection of dropdowns