Dealing with empty index groups