Remove brackets from final transformed outer qry