I've changed this locally to doc.language is not null and it works fine,
however, I hesitate to treat this as a solution..
There were also three instances of
nameFilter = "name not like '%.%' and name <>
''";
in XWikiStatsServiceImpl.java.
Cheers,
Jeff