Fix integration of active_enum for import_task