When browsing the relationship data for parents-brands I noticed there were two export buttons...
https://wikirate.org/Commons+Has_Brands
fixed in code.
fixed!