Input data retrieval now handles missing value errors properly