danw
committed
on 13 Feb 03
fixed mangled queries