array_agg returns [null] instead of [] when it can not find any rows, thus the range enters the loop, but it fails to convert the null to string.
Languages
PLpgSQL
69.3%
Go
25.1%
CSS
4.3%
JavaScript
0.8%
Scheme
0.4%