* Fix "index out of bounds" when input to group-by is empty #4369 * Fix formatting #4369 * Adds test for empty input Co-authored-by: Ray Henry <ray.henry@thermofisher.com>