split up selection filter into node-selection and element-selection; node selection is working now