[Ref #1824] Fix TypeError if got empty rows from findAndCountAll() with group.
Merge pull request #1849 from hycheung0509/1.7.0

[Ref #1824] Fix TypeError if got empty rows from findAndCountAll() with group