The query to generate the report doesn't seem to be compatible with sql_mode ONLY_FULL_GROUP_BY .
See #8