Add warning to aggregated functions if no objects are found