Bug Hunting

Been trying to find and fix error where some categories are skipped or
added with incorrect slug.