bug 11453 -- remove spurious $i parameter on getGroupIndex()