fix subscription export group by bug.