Support nth-child pseudo-classes