Fix the learnset importer to support events