support having clause in group by

afaik you can also remove the context.having attribute at all