Hello
I fixed an issues with empty sets. It just work, but there are some ugly hacks.
It's really needs own planner node - now grouping functions are notsupported by ORDER BY clause.
Regards
Pavel Stehule