Fixed LogResource to return aggregates even if there are no results.