Fixed custom field retrieval for missing values