allow selection of opt groups if their value attribute is set