Fixed a bug that led to not importing data and not failing import