Fix parent selector resolutions with newlines + commas.

Closes #1140