make sure that values like '0' are valid in select options