Also, I think if you join on name and if the theme has multiple translations you'll get the same object back multiple times.