DEV: Fix group-index-test under Ember CLI (PR #12153)

:nth() and :first are jQuery-only selectors and fail when used with querySelector/querySelectorAll.

GitHub