Fixed bug in elitegroup code: some -> not-any?