The query currently repeats country level data for Canada, Australia and the United States because it loops through all the English names which appear both under ISO3166-1 and ISO3166-2. This results in Canada and Australia showing 300% of actual country level, and the USA 900%. The fix would appear to be to restrict the search for En name to ISO3166-1.
Data Year must also be included in the project query - as it is needed to set a date when we do not have a specific year for production or reserves.