well, your script won't work as "Test" is no array, thus your ascan() test returns always with the delete result.
put the array back.

then, change the ascan if to this:
Code:

If AScan($Members, $folder.name) = -1
? $folder.name " " $folder.delete
EndIf



compare this output with the members output before and you will what you have wrong in the script.