fix group by clauses which use ordinal numbers to refer columns