fixed bug introduced in last push - incorrectly eliminated columns from
a query