Fix the completion trigger for "order by" and "group by" commands.