Fix for script crash when choosing empty group in skin-managed selection dialog