Script actually fixes categories now.

If a product is assigned to just a single bottom level category, we will also
assign it to all the parent categories, up to the root category.