Ensure consistency in content selection

Previously, the logic around which content to include was separate and therefore could, and did, diverge.

Pulled it all together into one place, so a brand should only appear in the index if there is appropriate content to output in its sitemap.