Updated vector_filter