Fix segfault when resolving multiple vectors at once