fixed incorrect processing of DB_Expr objects in select(); closes #345,#346