Remove empty typeList-nodes after filtering.