Fix importing of groups