fixing an edge case when parsing the arguments of pseudo-selectors