Correctly set default value for select inputs.