Modifing VertexFilter to be able to be AND and OR kind of filter