Issue #1461536 by David_Rothstein: Fixed Fatal error when using aggregation and a field is not attached to all entities in the view.