Utility function that removes the subtable IDs for the subtables of the
getReferrerType report. This avoids infinite recursion in said report (ie,
the grandchildren of the report will be the original report, and it will
recurse when trying to get a flat report).