If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
Fix: Root categories were queried for by name instead the value.
Also: Flush to the database after each queue job has run.
relevant lines covered
hits per line