Add warning to errors.py for when no results are found in aggregated functions