Adding nth-of-type selector to pseudo-element matches