I can confirm that Dave's patch fixes the original script that was failing, as well as the reduced test case. -George