handles the case where the aggregate operation didn't yield any results