Fixed backwards compatibility for dropdowns.