Removed the optgroups if isMobile is true - select multiple with optgroups causes a Safari segfault. Fixes SPOT-991.
Merge branch 'safari_segfault'