Enable selector filtering for ::before and ::after pseudo element resolution