be more defensive when trying to get the report groups