Check if data before importing references