Index: /branches/eam_branches/ipp-20191011/Nebulous/lib/Nebulous/Client.pm
===================================================================
--- /branches/eam_branches/ipp-20191011/Nebulous/lib/Nebulous/Client.pm	(revision 41062)
+++ /branches/eam_branches/ipp-20191011/Nebulous/lib/Nebulous/Client.pm	(revision 41063)
@@ -428,4 +428,5 @@
 
         if (defined $locations) {
+	    print "dev: looking for undef volume instances\n";
 	    # first delete the valid instances (except the one we own)
             my $instances_valid = $self->find_instances($key, undef, 0); # find all valid instances
@@ -1207,6 +1208,6 @@
     my $locations;
     if ($invalid) {
-	# XXX this is an example of passing 'find_invalid' to find_instances
-	$locations = $self->find_instances( $key, 'any', 'find them all');
+	# delete the invalid instances:
+	$locations = $self->find_instances( $key, 'any', 1);
     }
     else {
