Fixed bug on pre-rendered select without optgroups