Fixed bu in group by and order by parsing.