New fix for nesting aggs using app params.
Updating error messages when no data