Importmodel: Fix for duplicate categories.