More elegant filter for nth-of-type