fixed wrong images when using optgroup
Added a filter to get optgroups and options on init
Merge pull request #7 from SimonErich/master

fixed wrong images when using optgroup