only apply filter if node has data.