[1.7.x] Fixed #22710 -- Documented aggregation behavior for empty QuerySets.

Thanks matklad for the report.

Backport of 7c6e96ec1f from master