fixed a nil reference (filter code didn't check for unknown nodes)