danw
committed
on 09 May 01
fixed some errors in tree queries pointed out by Vinod Kurup