SelectOptionGroup throws a warning

a warning is triggered when there are no items in the optgroup
Merge pull request #2 from tzappa/patch-1

SelectOptionGroup throws a warning