handle NX_class group attribute as either '' or ['',]