Fix bug in summary function when SQL returns null because there are no rows
Fix bug in summary function when SQL returns null because there are no rows

programcsharp/griddly,jehhynes/griddly,programcsharp/griddly,jehhynes/griddly,programcsharp/griddly