Fix error in import analytics