do not insert the undefined item if the attribute size greater than one

No need to add a empty option in the select if it has the attribute of size, and it is greater than 1.