better filter: extract nodes with tags only