Fix empty map class when finishing import on empty record