Properly support @at-root within comma selectors.

Closes #1003