get latest value of custom field in case there are multiple