Fixes to allow group_concat() to be used as a window function.