Port nth-*(an+b) fix from cssselect to selectr.