Fix seed generation with new category model